package com.ruoyi.slope.api.service.impl;

import com.ruoyi.slope.api.domain.SlopeInfoDto;
import com.ruoyi.slope.api.mapper.SlopeInfoApiMapper;
import com.ruoyi.slope.api.service.SlopeInfoApiService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SlopeInfoApiApiServiceImpl implements SlopeInfoApiService {

    @Resource
    private SlopeInfoApiMapper slopeInfoApiMapper;

    @Override
    public List<SlopeInfoDto> getSlopeInfo() {
        return slopeInfoApiMapper.getSlopeInfoList();
    }
}
